package com.zhou.cloud.service;

import com.zhou.cloud.dao.entity.Person;

import java.util.List;

/**
 * @descrition:
 * @author: zhouyongjun
 * @date: 2022/7/21
 **/
public interface IMongodbPersonService {
    int insert(Person person);
    int update(Person person);
    int remove(Long id);
    Person find(Long id);
    List<Person> findAll();
    //查询集合-模糊匹配
    List<Person> findlike(String name);
    //根据时间倒叙排列查询所有**
    List<Person> findtime();

}
